home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
BGTLX211.ARJ
/
BGFTDYQM.SCR
< prev
next >
Wrap
Text File
|
1991-05-02
|
4KB
|
73 lines
; BGFTDYQM.SCR: QMODEM script for BGFT Ymodem Batch Download.
; Copyright (c) 1991 Dirac Systems.
; Support Package for Registered users of BGFT (TM) BackGround File Transfer.
; QMODEM is a trademark of The Forbin Project Inc.
;
; The following outlines how to install the script for use as an
; 'external protocol' in QMODEM. Actually, it shows how to use a Qmodem
; SCR script to do the Ymodem Batch file transfer in BGFT. See specific
; implementation details in the other SCR files for different protocols.
; Be sure that the resident part (BGFT360K.COM or BGFT720K.COM) of
; BGFT is loaded before the communications program. Add /B if you want
; Drive B: for the file buffer. The BGFT status window does not need to
; be active; it need only be resident.
; The batch file BGFTINIT.BAT is used to initialize BGFT prior to
; running QMODEM. This file must be edited to contain information about
; your modem's port number and baud rate prior to use (default is 1200
; baud, port 1). You must run the batch file BGFTINIT.BAT to make sure
; that BGFT is set up properly. THIS MUST BE DONE before using BGFT as
; an external protocol under QMODEM. This is true even though the baud
; and port are set here.
; Change the port assigments in the line: 'ASSIGN 0 n'. Put the
; number 'n' to the communications port you want. Here it is '1'.
; Change the baud rate assignment in the line: 'ASSIGN 1 n'.
; Put the number 'n' to an acceptable BGFT rate and the one used
; to do the file transfer from the remote host.
; QMODEM 4.2E is compatible with this script. The QMODEM system
; variable '$SPEED' for the baud rate may be able to be used in the
; script when it works properly from QMODEM.
; BGFTOPT.EXE should be in the \QMODEM directory or DOS path.
; BGFTDYQM.SCR should be in the \QMODEM directory or QMODEM
; script directory.
; Get the remote system ready to download the chosen files with
; Ymodem Batch.
; From terminal mode in QMODEM hit 'Alt_F' to begin to set up the
; SCR file for running. Type in BGFTDYQM for the script name to be run.
; Enter nothing for parameters to the script.
; BGFTDYQM.SCR will initiate the download using the baud rate and
; communication port defined in the script file. The 'SYSTEM X' command
; will exit QMODEM without hanging up; you will be at the DOS prompt.
; The files(s) will be transferred in the background so you can use
; your computer for other purposes while this takes place.
; DO NOT RUN QMODEM FROM DOS OR YOU WILL GET THE TRANSMISSION
; ON THE SCREEN INSTEAD OF THE FILE BUFFER.
; After the transfers are over you can use QMODEM in terminal
; mode.
; Use BGFT.EXE to move your files to the desired DOS directory.
; Or BGFTOPT /3<Pathname>, may be used to dump downloaded; files from
; the file buffer to a specified directory.
;
CLRSCR
DISPLAYLN " "
DISPLAYLN " Copyright (c) 1991 Dirac Systems \ /"
DISPLAYLN "------------------------------------- - o -"
DISPLAYLN " / \"
DISPLAYLN "BGFT Ymodem Download External Protocol"
DISPLAYLN " "
ASSIGN 0 1 ; USER DEFINED COMM PORT.
ASSIGN 1 1200 ; USER DEFINED BAUD RATE (Qmodem $SPEED?).
ASSIGN 2 "BGFTOPT /Q" ; Quiet mode (don't print out results).
ASSIGN 3 " /A" ; Acknowledge error, if any.
ASSIGN 4 " /R" ; Reconnect COMM port.
ASSIGN 5 "$2$3$4$0" ; Concatenate the commands.
ASSIGN 6 " /B" ; Set baud rate.
; Ymodem Batch sends the filename(s) to BGFT.
ASSIGN 8 " /~" ; Set protocol.
ASSIGN 9 "2" ; USER DEFINED PROTOCOL (Ymodem Batch Download).
ASSIGN 2 " /S" ; Start file(s) transfer.
ASSIGN 3 "$5$6$1$8$9$2" ; DOS command.
DISPLAYLN "$3" ; Show the command.
DOS "$3" ; Run BGFTOPT.EXE with appropriate command.
SYSTEM X ; Exit QMODEM without hanging up.